package cn.com.zpark.filter;

import javax.servlet.*;
import java.io.IOException;

/**
 * @PackageName: cn.com.zpark.filter
 * @ClassName: FilterDemo1
 * @Description:
 * @author: RZS
 * @date: 2021/11/17  17:05
 */
public class FilterDemo01 implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("经过FilterDemo01过滤器");

        // 放行，继续访问后续资源
        filterChain.doFilter(servletRequest, servletResponse);
    }

}
